void send_bsp_message(bsp_node *n,vector& p,float rad,int msg,int param,void *data)
Parameter | Type | Description |
---|---|---|
n | bsp_node * | root bsp node |
p | vector& | point |
rad | float | radius |
msg | int | message type |
param | int | parameterr |
data | void * | general pointer parameter |
None
This function send a message to all active plug-in objects inside the sphere of influence defined by the p and rad parameters. All plug-in objects (derived from bsp_object) receive the message through their message virtual function.